CreateMeshBuilder,,,,
AddVertex,3,1.7,25.5,
AddVertex,3,1.7,0,
AddVertex,3,-0.3,25.5,
AddVertex,3,-0.3,0,
AddFace,0,1,3,2

GenerateNormals,,,,

LoadTexture,fence.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,3,0,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,3,1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,,,,
AddVertex,30,0,13.5,
AddVertex,30,7,13.5,
AddVertex,30,7,0,
AddVertex,30,0,0,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckfront.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,

;gable,,,,
CreateMeshBuilder,,,,
AddVertex,30,0,0,
AddVertex,30,7,0,
AddVertex,37,7,0,
AddVertex,37,0,0,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckgable.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,

;roof front,,,,
CreateMeshBuilder,,,,
AddVertex,30,6.9,13.5,
AddVertex,33.5,10,13.5,
AddVertex,33.5,10,0,
AddVertex,30,6.9,0,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckroof1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,

;roof end,,,,
CreateMeshBuilder,,,,
AddVertex,30,6.9,0,
AddVertex,30,10,3.75,
AddVertex,37,10,3.75,
AddVertex,37,6.9,0,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckroof2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0
